#region History

/* -------------------------------------------------------------------------------- 
 * Project Name: JobBoard Enterprise
 * Module: Jb.Web 
 * Name: Skill.cs
 * Purpose: ViewModel class for Skill
 *                   
 * Author: Md. Hassanur Rahman
 * Language: C# SDK Version 4.0
 * --------------------------------------------------------------------------------
 * Change History:
 * Version: 1.0    MHR  08/13/2012
 * Description: Initial Development
 * -------------------------------------------------------------------------------- */

#endregion

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;


namespace Jb.Web.ViewModels
{
    [Serializable]
	public class SkillViewModel : BaseViewModel
	{	
        /// <summary>
		/// Gets or sets the ID
		/// </summary>
        public int ID { get; set;}
        [Required(ErrorMessage= "Please Select a Category")] 
        [Display(Name = "Category")] 
        public int CategoryID { get; set;}
            
        [Required(ErrorMessage= "Please Enter a Name")]
        [StringLength(250, ErrorMessage = "The {0} can be maximum {1} characters long.")]
        [Display(Name = "Name")] 
		public String Name	{ get; set; }
	}
}

